<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<sql:setDataSource dataSource="jdbc/Domo" />

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

	<sql:query var="personnes">
		SELECT * from personne
	</sql:query>

	<table>
		<c:forEach var="personne" begin="0" items="${personnes.rows}">
			<tr>
				<td>${personne.id }</td>
				<td>${personne.nom }</td>
				<td>${personne.prenom }</td>
			</tr>
		</c:forEach>
	</table>

</body>
</html>